package com.mapper;

import com.pojo.Parkrule;
import com.vo.ParkruleVo;

import java.util.List;

public interface ParkruleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Parkrule record);

    int insertSelective(Parkrule record);

    Parkrule selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Parkrule record);

    int updateByPrimaryKey(Parkrule record);

    /**
     * 查询所有规则
     * @return
     */
    public List<Parkrule> selectruleall(ParkruleVo parkruleVo);

    /***
     * 查询所有停车计费规则
     * @return
     */
    public List<Parkrule> selecAllParkRule();
    public Parkrule selectRuleById(Integer id);
}